home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
general
/
modelers
/
geomview
/
source.lha
/
Geomview
/
src
/
lib
/
gprim
/
vect
/
vectsphere.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1993-02-16
|
335 b
|
16 lines
#include "geom.h"
#include "create.h"
#include "vectP.h"
Geom *VectBoundSphere(vect, T, space)
Vect *vect;
Transform T;
int space;
{
Geom *sphere;
sphere = GeomCreate("sphere", CR_ENCOMPASS_POINTS, vect->p,
CR_NENCOMPASS_POINTS, vect->nvert,
CR_AXIS, T, CR_SPACE, space, CR_END);
return sphere;
}